var express = require('express');
var router = express.Router();
const classService = require('../service/classService');
/* GET home page. */
router.get('/all',async function(req, res, next) {
    res.send(await classService.findAll());
});

module.exports = router;
